<% layout("/common/layout.html",{"title":"食药申请详情"}){ %>
<div class="row wrapper border-bottom white-bg page-heading">
	<div class="col-sm-8">
		<h2>食药申请列表</h2>
		<ol class="breadcrumb">
			<li><a href="${ctxPath}/admin/main">主页</a></li>
			<li>食药申请列表</li>
			<li class="active">详情</li>
		</ol>
	</div>
	<div class="col-sm-4">
		<div class="title-action">
			<a class="btn btn-primary btn-sm btn-outline" href="index"><i
				class="fa fa-reply"> </i> 返回列表</a>
		</div>
	</div>
</div>

<div class="wrapper wrapper-content">

	<div class="panel panel-default">
		<div class="panel-heading">
			<b>法定代表信息</b>
		</div>
		<div class="panel-body">
			<form style="text-align: center;">
				<div id="yyzz"
					style='layout-grid: 15.6pt; margin: 0 auto; width: 1200px;'>
					<h1 align="center">从业人员情况登记表</h1>
					<table class="table">
						<tr>
							<td>序号</td>
							<td>姓名</td>
							<td>性别</td>
							<td>民族</td>
							<td>户籍地址</td>
							<td>证件类型</td>
							<td>证件号</td>
							<td>职务</td>
							<td>联系电话</td>
							<td>任免单位</td>
							<td>健康证编号</td>
							<td>工种</td>
							<td>发证单位</td>
						</tr>
						<%for(member in memberList){%>
							<tr>
								<td>${memberLP.index} </td>
								<td>${member.name}</td>
								<td>${member.sex==1?'男':'女'}</td>
								<td>${member.nation}</td>
								<td>${member.householdAddress}</td>
								<td>居民身份证（户口薄）</td>
								<td>${member.cardNumber}</td>
								<td>${decode(member.job,1,'食品安全技术人员',2,'食品安全管理人员',3,'其他人员','')}</td>
								<td>${member.phone}</td>
								<td></td>
								<td>${member.healthCertNumber}</td>
								<td></td>
								<td>${member.healthCertLeader}</td>
							</tr>
						<%}%>
					</table>
				</div>
			</form>

		</div>
	</div>
</div>
<% } %>
<script language="javascript">
	var hkey_root, hkey_path, hkey_key
	hkey_key = "header";
	hkey_key = "footer";
	//设置网页打印的页眉页脚为空 
	try {
		var RegWsh = new ActiveXObject("WScript.Shell")
		RegWsh.RegWrite(hkey_root + hkey_path + hkey_key, "")
		RegWsh.RegWrite(hkey_root + hkey_path + hkey_key, "")
	} catch (e) {
	}
</script>
<script type="text/javascript">
	//页面JS调用
	require([ 'fooddrug/apply' ], function(apply) {
		apply.view();
	});
</script>
<style>
.table{  
    width:1200px;    
    border:2px solid #000;  
    border-collapse: collapse;  
    text-align:left;  
    table-layout: automatic  
}  
.table  td{
    height:35px;
    border:1px solid ;  
}    
</style>
